<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
        <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>

	<h1>查询界面</h1>
	<form action="SearchCustomer.action" method="post">
	请输入关键字：<input type="text" name="keyword">
	<input type="submit" value="查询">
	</form>
	
	<table>
			<tr>
				<td>ID号</td>
				<td>姓名</td>
				<td>密码</td>
				<td>年龄</td>
				<td>性别</td>
				<td>电话</td>
				<td>地址</td>
				<td>状态</td>
			</tr>	
			<c:forEach var="cu" items="${customerList}">
				<tr>
					<td>${cu.cid }</td>
					<td>${cu.cname}</td>
					<td>${cu.cpassword }</td>
					<td>${cu.cage}</td>
					<td>${cu.cgender }</td>
					<td>${cu.cphone }</td>
					<td>${cu.caddress}</td>
					<td>${cu.status }
				</tr>
			</c:forEach>
		
	</table>
	

	
</body>
</html>